﻿@model EditorLoginData
@{
    Layout = "~/Views/Shared/PublicLayout.cshtml";
    ViewBag.Title = "התחברות עורך";
}
@section headElements{
    <link href="@Url.Content("~/Content/EditorLogin.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/EditorLogin.js")" type="text/javascript"></script>
}
<div class="title">
    @ViewBag.Title - @ViewBag.AlbumTitle
    <div class="titleBottom">
    </div>
</div>
@using (Html.BeginForm("EditorLogin", "Users", FormMethod.Post, new { id = "frmEditorLogin" }))
{
    @Html.Hidden("AlbumId")
    <div class="fieldRow">
        <div class="label">
            מקטע לעריכה
        </div>
        <div class="value">
            @Html.DropDownList("AlbumSectionId", (ViewBag.SectionsList as SelectList), "--כל האלבום--")
        </div>
    </div>
    <div class="fieldRow">
        <div class="label">
            סיסמה
        </div>
        <div class="value">
            @Html.PasswordFor(m => m.Password, new { @class = "ltr" })
        </div>
    </div>
    <div class="clear">
        <input type="submit" value="התחבר" class="submitButton" />
    </div>
    <div class="floatRight">
        <span id="loginFailed" class="formErrorMessage">סיסמה שגויה</span>
    </div>
    <div class="clear">
    </div>
}
